package com.yjz.study.ui

import android.os.Bundle
import com.yjz.common.base.BaseActivity
import com.yjz.study.MainActivityLogic
import com.yjz.study.R

class MainActivity : BaseActivity() {

    private var mainActivityLogic: MainActivityLogic? = null

    override fun getLayoutId(): Int {
        return R.layout.activity_main
    }

    override fun init(savedInstanceState: Bundle?) {
        super.init(savedInstanceState)
        mainActivityLogic = MainActivityLogic(this, savedInstanceState)
    }

    override fun onSaveInstanceState(outState: Bundle) {
        super.onSaveInstanceState(outState)
        mainActivityLogic?.onSaveInstanceState(outState)
    }
}